<template>
	<view id="electric">
		<view class="top">
			<text>电费</text>
			<navigator url="/pages/Living/payRecord/payRecord" hover-class="navigator-hover">
				<text class="see">查看账单</text><uni-icons type="forward" size="15"></uni-icons>
			</navigator>
		</view>
		
		<view class="bottom">
			<view class="bottom-top">
				<text>可用余额</text>
				<text>¥300.00</text>
			</view>
			<view class="bottom-bottom">
				<view class="list">
					<text>户号</text>
					<text>3456789</text>
				</view>
				<view class="list">
					<text>户主</text>
					<text>蒋峰</text>
				</view>
				<view class="list">
					<text>缴费单位</text>
					<text>南航供电公司</text>
				</view>
			</view>
		</view>
		<navigator url="/pages/Living/payMent/payMent" hover-class="navigator-hover">
		<button>立即充值</button>
		</navigator>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>

<style lang="less" scoped>
	#electric {
		.top {
			display: flex;
			justify-content: space-around;
			height: 120rpx;
			align-items: center;
			width: 680rpx;
			border-radius: 8rpx;
			border: 1rpx solid #f5f5f5;
			box-shadow: 0rpx 0rpx 20rpx 0rpx #f5f5f5;
			margin: 30rpx auto;
			.see{
				font-size: 28rpx;
				color: #006eff;
			}
		}
		.bottom{
			height: 300rpx;
			width: 680rpx;
			border-radius: 8rpx;
			border: 1rpx solid #f5f5f5;
			box-shadow: 0rpx 0rpx 20rpx 0rpx #f5f5f5;
			margin: auto;
			.bottom-top{
				display: flex;
				justify-content: space-around;
				height: 100rpx;
				width: 610rpx;
				margin: auto;
				line-height: 100rpx;
				border-bottom: 1rpx solid #e8e8e8;
			}
			.list{
				margin: 20rpx;
			}
			.list :first-child{
				color:#b6b6b6;
				font-size: 28rpx;
				padding: 30rpx 60rpx 30rpx 30rpx;
			}
			.list:nth-child(2){
				color: #333333;
				font-size: 28rpx;
			}
		}
		button{
			width:680rpx;
			background: #006eff;
			color: white;
			margin-top:100rpx;
		}
	}
</style>
